package com.wicket.okrframework.biz.service.dto.common;
import com.wicket.okrframework.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc BaseChangeColDto
     * @使用场景
     */
    @Data
    public class BaseChangeColDto extends BaseDto  implements Serializable {
      
    /**
     * 变更字段英文名 
     */
    @NotNull(message = "变更字段英文名不能为空")
@ApiModelProperty("变更字段英文名")
    private String	 objectPropertyCode;

    /**
     * 变更字段内容 
     */
    @NotNull(message = "变更字段内容不能为空")
@ApiModelProperty("变更字段内容")
    private String	 metaDataColumnContent;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BaseChangeColDto that = (BaseChangeColDto) o;
      return  objectPropertyCode == that.objectPropertyCode&&metaDataColumnContent == that.metaDataColumnContent;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), objectPropertyCode,metaDataColumnContent);
    }
    
      

    }
   